home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume90
/
util
/
icontols
/
part01
/
README
Wrap
Text File
|
1990-07-15
|
4KB
|
97 lines
5/20/90
<< IconTools >>
by Richard Mazzarisi
written in Jforth Professional 2.0
Introduction:
These programs are two tools for managing icons under the
Workbench, namely ReplaceTool and FloatIcon. They have been done
before, but I have never seen such tools that worked totally as an
Workbench based operation. So I decided to write them.
They are self documenting; just double click the icon to see the
instructions.
These programs not public domain but are freely distributable as
long as they are distributed with this notice and only a nominal fee
is charged for the disks to cover the cost of distribution. They may
be included in Fred Fish's collection and in Delta Research's JGoodies
disks.
(NOTE: The author assumes no responsibility for any damages
resulting from the use of these programs.)
ReplaceTool 2.02:
ReplaceTool allows you to change the default tool of any number
of project icons all at once. This is useful when installing a
program and some projects created by it onto a disk which will have a
different path from that of the distribution disk. Usually double
clicking the project icon would result in a program not found error.
Then you had to type the new path into each icon using "info" from the
Workbench menu, one by one! Now instead you can just click on
ReplaceTool and shift click on all the project icons and the tool to be
used. That tool's path and name will be placed in the DefaultTool
slot of the icon.
And how about all those README files whose icons all have some
text file browser in a subdirectory of the original disk as their
default tool; less has no icon, you say. Well, there is a second way
to use ReplaceTool. If you shift click ONLY on project icons,
ReplaceTool will open the ARP file requester with which you can
specify the tool and its path. The default directory will be SYS:, and
of course you may click the buttons and names to get the path and tool
you desire. Or you may type the path and name into the string
requesters. You may type ANY path or name into the requesters
regardless of what is shown in the window; so that a relative path is
possible such as "/" to use a tool one directory up from where the
project lives, ":<path>" to indicate the current disk, or blank it out
entirely to indicate the same directory. You just type the
appropriate path into the drawer string requester AFTER getting the
correct file name to show in the file string requester.
For the use of the second option, naturally you must have the
arp.library (version 39 or greater) installed in your LIBS: directory.
NOTE: Due to the behavior of the Workbench 1.3 the change of the
default tool does not take effect until the icons are reread from the
disk. So it is necessary to close the drawers involved and to reopen
them before using the modified projects. (Under version 2.0 there
will be a menu item to reread the disk.)
FloatIcon 1.03:
FloatIcon is a spinoff of Replacetool, basically it was practice
at accessing the icon info and writing it back. It simply lets you
make an icon free floating again after it has been "Snapshot". This
means that the Workbench will decide where it should be placed when a
drawer is opened rather than putting it at a fixed position.
Having the icons free floating seems to work better with Dave
Navas' JazzBench since it does a more intelligent job of icon
placement than the Workbench, so that the names don't overlap.
(AmigaDos 2.0 does a better job at this than 1.3)
Compiling the programs:
In order to recompile these programs you need the Jforth
Professional 2.0 Amiga developement package. Assign JARP: to the
directory where the arp header file and support file may be found.
Richard Mazzarisi
891 Post St. #207
San Francisco, CA
94109
email:
rich@californium.cchem.berkeley.edu
rmazz@hydrogen.cchem.berkeley.edu
nmr@garnet.berkeley.edu